package com.soft.model;

public class City {

	private int id;

	private String cityname;

	private String province;

	private String adduser;
	
	private String addtime;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}
	
	public String getCityname() {
		return cityname;
	}

	public void setCityname(String cityname) {
		this.cityname = cityname;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getAdduser() {
		return adduser;
	}

	public void setAdduser(String adduser) {
		this.adduser = adduser;
	}

	public String getAddtime() {
		if (addtime != null && addtime.contains(".0")) {
			addtime = addtime.replace(".0", "");
		}
		return addtime;
	}

	public void setAddtime(String addtime) {
		this.addtime = addtime;
	}

}
